package com.ruoyi.invoice.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: RuoYi-Cloud-master
 * @BelongsPackage: com.ruoyi.invoice.vo
 * @Author: songYuHang
 * @CreateTime: 2025-03-05  22:39
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class InvoiceTemplateDetailVO {

    private static final long serialVersionUID = 1L;

    /** 明细ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 发票凭证模版ID */
    private Long templateId;

    /** 摘要ID */
    private Long summaryId;

    /** 会计科目ID */
    private Long subjectId;

    /** 方向（借或贷，0表示借，1表示贷） */
    private Long direction;

    /** 取值（0不含税金额、1税额、2价税合计） */
    private Long valueType;

    /** 金额 */
    private BigDecimal amount;

    private String summaryContent;

    private String subjectName;

}
